package com.ljy.jymail.product.config;


import com.ljy.jymail.product.entity.PersonEntity;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Configuration
@Component
public class BeanConfig {

    @Bean(name = "PersonBean")
    public PersonEntity PersonBean(){
        return new PersonEntity("李嘉瑶",20,100);
    }
}
